package myjava.thread;

/**
 * @author Yancy
 * @program springioctest
 * @create 2020-11-10
 */
public class Righthand extends Thread {
  @Override
  public void run() {

    for (int i = 0; i <= 5; i++) {
      System.out.println("I am Righthand!");
      try {
        sleep(300);
      } catch (InterruptedException e) {
      }
    }
  }
}
